<style>
  .space {
    margin-top:200px;
  }
  .formWd{
    width: 400px;
  }
</style>
<app-home1></app-home1>
<div class="center">
  <mat-card class="space" >
    <mat-card-title  class="center formWd">注册系统</mat-card-title>
    <mat-card-content>
      <mat-form-field class="formWd">
        <mat-label>注册邮箱</mat-label>
        <input matInput value="" [(ngModel)]="email" type="email">
      </mat-form-field>
    </mat-card-content>
    <mat-card-content>
      <mat-form-field class="formWd">
        <mat-label>登录密码</mat-label>
        <input matInput  value="" [(ngModel)]="passWd" type="password">
      </mat-form-field>
    </mat-card-content>
    <mat-card-content>
      <mat-form-field class="formWd">
        <mat-label>确认密码</mat-label>
        <input matInput  value="" [(ngModel)]="resurePassWd" type="password">
      </mat-form-field>
    </mat-card-content>
    <mat-card-actions class="formWd">
      <button mat-button color="primary" (click)="judge()">注册</button>
    </mat-card-actions>
    <mat-card-actions class="formWd primary" style="padding: 0 16px">
      <a class="pointer" style="margin-right: 5px" routerLink="/login">用户登录</a>
    </mat-card-actions>
  </mat-card>
  <nz-modal [(nzVisible)]="isVisible" nzTitle="注册确认" (nzOnCancel)="handleCancel()" (nzOnOk)="handleOk()">
    <p>确认注册吗</p>
  </nz-modal>
</div>
